﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TestVisioCanvas.Helpers
{
    public static class StaticUtils
    {        
        private static Microsoft.Office.Interop.Visio.VisUnitCodes _cm = 
            Microsoft.Office.Interop.Visio.VisUnitCodes.visCentimeters;
        private static short PropIndex = (short)Microsoft.Office.Interop.Visio.VisSectionIndices.visSectionProp;

        /// <summary>
        /// Value of the visio enumeration that represents the CM unit of measure
        /// </summary>
        public static Microsoft.Office.Interop.Visio.VisUnitCodes VisioCentimeters
        {
            get { return _cm; }
        }

        /// <summary>
        /// Value of the visio enumeration that represents the index of the user defined properties of a shape
        /// </summary>
        public static short PropertiesIndex { get { return PropIndex; } }

        /// <summary>
        /// Exposed object for the example data.
        /// </summary>
        public static Data.DWGSizes DWGs = new Data.DWGSizes();
    }
}
